/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package datasource.bmp;

/**
 *
 * @author Fabian
 */
public class BitmapCoreHeader extends DIBHeader{
    //tamaño de este header: siempre es 12 bytes
    public static long  HEADER_SIZE=12;
    private int  width;
    private int  height;
    //numero de colores e e plano: este header solo acepta 1
    private static int  NCOLORPLANES=1;
    private int  bitspp;

    public BitmapCoreHeader() {
    }

    public BitmapCoreHeader(int width, int height, int bitspp) {
        this.width = width;
        this.height = height;
        this.bitspp = bitspp;
    }


    public static int getNCOLORPLANES() {
        return NCOLORPLANES;
    }

    public static void setNCOLORPLANES(int NCOLORPLANES) {
        BitmapCoreHeader.NCOLORPLANES = NCOLORPLANES;
    }

    public int getBitpixelsheight() {
        return height;
    }

    public void setBitpixelsheight(int bitpixelsheight) {
        this.height = bitpixelsheight;
    }

    public int getBitpixelswidth() {
        return width;
    }

    public void setBitpixelswidth(int bitpixelswidth) {
        this.width = bitpixelswidth;
    }

    public int getBitspp() {
        return bitspp;
    }

    public void setBitspp(int bitspp) {
        this.bitspp = bitspp;
    }

    @Override
    public void setHeight(long longtemp) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setNplanes(int nplanes) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setCompress_type(long compress_type) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setBmp_bytesz(long bmp_bytesz) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setHres(long hres) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setVres(long hres) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setNcolors(long ncolors) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setNimpcolors(long nimpcolors) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public long getHeight() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public long getWidth() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setWidth(long longtemp) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public long getBmp_bytesz() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
